package com.tsunami.authority.dto.admin;

import com.tsunami.authority.enums.admin.TenantType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @Classname TenantSaveDTO
 * @Description TODO
 * @Date 2021-12-02 17:36
 * @Created by lx
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "TenantSaveDTO", description = "租户")
public class TenantSaveDTO {
    @ApiModelProperty(value = "租户名称")
    private String tenantName;

    /** 租户简称 */
    @ApiModelProperty(value = "租户简称")
    private String shortName;
    /** 联系方式 */
    @ApiModelProperty(value = "联系方式")
    private String phone;
    /** 租户编号 */
    @ApiModelProperty(value = "租户编号")
    private String tenantCode;
    /** 创建者-主管理员 */
    @ApiModelProperty(value = "创建者-主管理员")
    private Long userId;
    /** 租户类型 */
    @ApiModelProperty(value = "租户类型")
    private TenantType type;
    /** 开通时间 */
    @ApiModelProperty(value = "开通时间")
    private LocalDateTime openTime;
    /** 到期时间 */
    @ApiModelProperty(value = "到期时间")
    private LocalDateTime expireTime;
}
